package com.zhiche.lisa.lspm.dao.model.carrier;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 基础数据字典
 * </p>
 *
 * @author qichao
 * @since 2018-11-09
 */
@TableName("lisa_carrier_dictionary")
public class CarrierDictionary extends Model<CarrierDictionary> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 编码
     */
	private String code;
    /**
     * 名称
     */
	private String name;
    /**
     * 值
     */
	private String value;
    /**
     * 字典类型分类
     */
	@TableField("bussiness_type")
	private String bussinessType;
    /**
     * 编码
     */
	private String status;
    /**
     * 备注
     */
	private String remark;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 创建时间
     */
	@TableField("gmt_modify")
	private Date gmtModify;
    /**
     * 创建人
     */
	@TableField("create_user")
	private String createUser;
    /**
     * 创建人id
     */
	@TableField("create_user_id")
	private String createUserId;
    /**
     * 创建人
     */
	@TableField("modify_user")
	private String modifyUser;
    /**
     * 创建人id
     */
	@TableField("modify_user_id")
	private String modifyUserId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getBussinessType() {
		return bussinessType;
	}

	public void setBussinessType(String bussinessType) {
		this.bussinessType = bussinessType;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public String getModifyUser() {
		return modifyUser;
	}

	public void setModifyUser(String modifyUser) {
		this.modifyUser = modifyUser;
	}

	public String getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(String modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "CarrierDictionary{" +
			", id=" + id +
			", code=" + code +
			", name=" + name +
			", value=" + value +
			", bussinessType=" + bussinessType +
			", status=" + status +
			", remark=" + remark +
			", gmtCreate=" + gmtCreate +
			", gmtModify=" + gmtModify +
			", createUser=" + createUser +
			", createUserId=" + createUserId +
			", modifyUser=" + modifyUser +
			", modifyUserId=" + modifyUserId +
			"}";
	}
}
